export default [
  {
    path: '/',
    component: () => import('../views/index.vue'),
    meta: { title: '首页' },
    redirect: '/home',
    children: [
      {
        path: '/home',
        name: 'home',
        component: () => import('../views/home/home'),
        meta: { title: '首页' },
      }
    ]
  },
  {
    path: '/login',
    name: 'login',
    component: () => import('../views/login/index.vue'),
    meta: {title: '登陆'}
  }
]